import request from '../utils/req';

export default {
  //登录
  userLogin(params: {password: string, username: string}) {
    return request({url: '/api/login', method: 'post', params});
  },
  //获取轮播图数据
  getBanner() {
    return request({url: '/banner', method: 'get'});
  },
};
